package com.showgood.vo;
import flash.utils.ByteArray;
import java.io.IOException;
public class LoginVO extends BaseVO {
public String username;
public String password;
public int version;
@Override
public int getVid() { return 4; }
@Override public void pack(ByteArray b) throws IOException {
super.pack(b);
b.writeUTF(this.username);
b.writeUTF(this.password);
b.writeInt(this.version);
}
@Override public void unpack(ByteArray b) throws IOException {
super.unpack(b);
this.username = b.readUTF();
this.password = b.readUTF();
this.version = b.readInt();
}
}
